<!DOCTYPE >
<html lang="zh-cn">

	<head>
		<title>无独团-后台管理</title>
		<% include ./partials/head %>
			<link rel="stylesheet" href="/assets/css/signin.css">
			<link rel="shortcut icon" href="/assets/ico/minus.png">
	</head>

	<body>

		<!-- Preloader -->
		<div id="preloader">
			<div id="status">&nbsp;</div>
		</div>

		<div class="container">

			<div class="" id="login-wrapper">
				<div class="row">
					<div class="col-md-4 col-md-offset-4">
						<div id="logo-login">
							<h1>无独团管理后台
                            <span>v1.0</span>
                        </h1>
						</div>
					</div>

				</div>

				<div class="row">
					<div class="col-md-4 col-md-offset-4">
						<div class="account-box">
							<form role="form" action="/admin/login" method="post">
								<div class="form-group">
									<!--a href="#" class="pull-right label-forgot">Forgot email?</a-->
									<label for="inputUsernameEmail">用户名</label>
									<input type="text" name="username" id="inputUsernameEmail" class="form-control">
								</div>
								<div class="form-group">
									<!--a href="#" class="pull-right label-forgot">Forgot password?</a-->
									<label for="inputPassword">密码</label>
									<input type="password" name="password" id="inputPassword" class="form-control">
								</div>
								<div class="checkbox pull-left">
									<label>
										<input type="checkbox">记住用户名</label>
								</div>
								<button class="btn btn btn-primary pull-right" type="submit">
									登 录
								</button>
							</form>
							<a class="forgotLnk" href="index.html"></a>

							<div class="row-block">
								<div class="row">
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>

			<p>&nbsp;</p>
			<div style="text-align:center;margin:0 auto;">
				<h6 style="color:#fff;">Copyright © 2015 poketsweet.com All rights reserved <br />
				广州小蚕信息科技有限公司 版权所有 粤ICP备15008220号-2</h6>
			</div>

		</div>
		<div id="test1" class="gmap3"></div>
		<% include ./partials/external %>
			<script src="http://maps.googleapis.com/maps/api/js?sensor=false" type="text/javascript"></script>
			<script type="text/javascript" src="/assets/js/map/gmap3.js"></script>
			<script type="text/javascript">
				$(function() {
					$("#test1").gmap3({
						marker: {
							latLng: [23.132694,113.396014],
							options: {
								draggable: true
							},
							events: {
								dragend: function(marker) {
									$(this).gmap3({
										getaddress: {
											latLng: marker.getPosition(),
											callback: function(results) {
												var map = $(this).gmap3("get"),
													infowindow = $(this).gmap3({
														get: "infowindow"
													}),
													content = results && results[1] ? results && results[1].formatted_address : "no address";
												if (infowindow) {
													infowindow.open(map, marker);
													infowindow.setContent(content);
												} else {
													$(this).gmap3({
														infowindow: {
															anchor: marker,
															options: {
																content: content
															}
														}
													});
												}
											}
										}
									});
								}
							}
						},
						map: {
							options: {
								zoom: 15
							}
						}
					});
				});
			</script>
	</body>

</html>